package OOday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog wc = new Dog("旺财",3,"红");
        wc.eat();
        wc.LookHome();

        Chick gg = new Chick("哥哥",25,"黑白");
        gg.eat();
        gg.LayEggs();

        Fish ly = new Fish("鲤鱼",1,"金");
        ly.eat();
    }
}
